import json

from utils.api_util import api_util
from utils.read import base_data

url = base_data.read_ini()['host']['api_sit_url']


def mobile_query(params):
    r = api_util.get_mobile_belong(params=params)
    print(r.status_code)
    result = r.json()
    print(result)
    return result


def get_json(json_data):
    response = api_util.get_json(json=json_data)
    return response.json()